import {getCache} from "@/views/stock/modules/cache";

export default {
  data(){
    return {
      allGoodsType: [],
      allGoodsAttr: [],
    }
  },
  mounted() {
    this.getOptions()
  },
  methods: {
    getOptions(){
       getCache()
        .then(res=>{
          this.allGoodsType = res.goodsType
          this.allGoodsAttr = res.goodsAttr
        })
    }
  }
}
